<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let a = 11, b = 22, c = 0, d = false;

    let e = a && b; // 22

    let f = b && c; // 0

    let g = c && a; // 0

    let h = a || b; // 11

    let m = c || d; // false

  </script>
</body>

</html>